package com.zbf.web;

import com.zbf.api.TestFeginApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/6/18  17:05
 * 描述:
 */
@RestController
public class TestOPenFeignController {

    @Autowired
    private TestFeginApi testFeginApi;

    @RequestMapping("getList")
    public Object getList(@RequestBody Map<String,Object> map){

        Object list = testFeginApi.getuserList(map);

        return list;
    }


    @RequestMapping("getList3")
    public Object getList2(){
        System.out.println("==========getList2");
        return null;
    }

}
